io.write('LingXing ShuZhiDuiJiaoXian a=')
a=io.read()
a=a+1
for i=1,a-1 do
   for j=1,a do
     if(j>=i and j<=a-i) then
       io.write('*');
     elseif(j<=i and j>=a-i) then
       io.write('*');
     else
       io.write(' ');
     end
   end   
   io.write('\n')
   
end

